package com.demo.function.retrofit;

import com.github.lianjiatech.retrofit.spring.boot.annotation.RetrofitClient;
import retrofit2.http.GET;
import retrofit2.http.Query;

import java.util.Map;

/**
 * 测试网站接口
 * https://tianqiapi.com/index/doc?version=v6
 */
@RetrofitClient(baseUrl = "https://tianqiapi.com")
public interface DoubanRetrofitThirdService {

    @GET("api")
    Map<String, Object> test(@Query("version") String q, @Query("appid") Integer start, @Query("appsecret") Integer count);
}
